﻿using System.ComponentModel.DataAnnotations;

namespace TMS.Model
{
    /// <summary>
    /// 房型表
    /// </summary>
    public class Roomtype
    {
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string Rname { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 最多入住人数
        /// </summary>
        public int Maxnum { get; set; }
        /// <summary>
        /// 房型面积
        /// </summary>
        public int Squre { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Cretatime { get; set; } = DateTime.Now;
        /// <summary>
        /// 是否启用
        /// </summary>
        public int Stets { get; set; } = 1;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdel { get; set; } = false;
    }
}
